package com.qqtop10.manager.dao;

import com.qqtop10.manager.model.User;

import java.util.List;

import org.springframework.ui.ModelMap;

public interface UserMapper {
	List<User> all(ModelMap input);

	int count(User input);
	
	int insert(User record);

	int insertSelective(User record);
	
	User selectByAccount(String userid);
	
	User selectByUuid(String uuid);
	
	int updateByUserUuid(User record);
	
	int accountCount(String account);
	
	int accountIsExist(String account);

	int phoneIsExist(String cellphone);
	
	User getLastTp();
}